package com.ophiux.wechat.model;

public class BaseReFundRequest {
	
	/**
	 * 公众号ID
	 */
	private String appid;
	
	/**
	 * 商户号，发起退款的商户号
	 * 若为服务商模式发起，则为服务商的商户号
	 * 若为普通商户模式发起，则为普通商户商户号
	 */
	private String mch_id;	
	/**
	 * 商户订单号,商家内部订单唯一标识
	 */
	private String out_trade_no;
	/**
	 * 操作员帐号, 默认为商户号
	 */
	private String op_user_id; 
	/**
	 * 商户系统内部的退款单号，商户系统内部唯一，同一退款单号多次请求只退一笔 
	 */
	private String out_refund_no;
	/**
	 * 退款金额 ,不得大于实际付款金额
	 */
	private String refund_fee; 
	/**
	 * 总金额 
	 */
	private String total_fee;
	
	
	/**
	 * 构造方法
	 */
	public BaseReFundRequest(){
		
	}

	public BaseReFundRequest(String _appid,String _mch_id,String _out_trade_no,String _op_user_id,
			String _out_refund_no,String _refund_fee,String _total_fee){
		
			this.appid = _appid;
			this.mch_id = _mch_id;
			this.out_trade_no = _out_trade_no;
			this.op_user_id = _op_user_id;
			this.out_refund_no = _out_refund_no;
			this.refund_fee = _refund_fee;
			this.total_fee = _total_fee;
		
	}
	
	
	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public String getMch_id() {
		return mch_id;
	}

	public void setMch_id(String mch_id) {
		this.mch_id = mch_id;
	}

	 
	public String getOut_trade_no() {
		return out_trade_no;
	}
	public void setOut_trade_no(String out_trade_no) {
		this.out_trade_no = out_trade_no;
	}
	public String getOp_user_id() {
		return op_user_id;
	}
	public void setOp_user_id(String op_user_id) {
		this.op_user_id = op_user_id;
	}
	public String getOut_refund_no() {
		return out_refund_no;
	}
	public void setOut_refund_no(String out_refund_no) {
		this.out_refund_no = out_refund_no;
	}
	public String getRefund_fee() {
		return refund_fee;
	}
	public void setRefund_fee(String refund_fee) {
		this.refund_fee = refund_fee;
	}
	public String getTotal_fee() {
		return total_fee;
	}
	public void setTotal_fee(String total_fee) {
		this.total_fee = total_fee;
	}
	
	
}
